import { createContext } from 'react';

export const state = {
  todolist: [
    { name: '哇哈哈', date: '2017', priority: '1' },
    { name: '没哈哈', date: '2117', priority: '2' },
    { name: '有哈哈', date: '2317', priority: '1' },
    { name: '无哈哈', date: '2567', priority: '3' },
    { name: '呜哈哈', date: '2021', priority: '2' },
    { name: '右哈哈', date: '2023', priority: '1' },
  ],
};

const createTo = createContext(state);

export default createTo;
